package com.ruoyi.shop.trade.mapper;

import java.util.List;
import com.ruoyi.shop.trade.domain.ShopOrderHistory;

/**
 * 订单操作记录Mapper接口
 * 
 * @author ruoyi
 * @date 2024-02-20
 */
public interface ShopOrderHistoryMapper {
	
	/**
	 * 查询订单操作记录列表
	 * 
	 * @param shopOrderHistory 订单操作记录
	 * @return 订单操作记录集合
	 */
	public List<ShopOrderHistory> selectHistoryList(ShopOrderHistory shopOrderHistory);
	
	/**
	 * 根据订单Id查询操作记录列表
	 * 
	 * @param orderId 订单操作记录
	 * @return 订单操作记录集合
	 */
	public List<ShopOrderHistory> selectHistoryByOrderId(Long orderId);

	/**
	 * 新增订单操作记录
	 * 
	 * @param shopOrderHistory 订单操作记录
	 * @return 结果
	 */
	public int insertHistory(ShopOrderHistory shopOrderHistory);

}
